namespace MyRobot.Nodes
{
    public abstract class Sensor : Node
    {
        public new class PropertyClass : Node.PropertyClass
        {
            public int Value;
            public int UpdateInterval;
            public SensorType Type;
            public SensorModel Model;
        }

        public enum SensorType
        {
            IR,
            Sonar,
            Laser,
            Touch,
            Light,
            PIR,
            Temperature
        }

        public enum SensorModel
        {
            Ping,
            Sharp_GP2D12,
            Rovio
        }

        public Sensor(string Name) : base(Name)
        {
        }
    }
}
